package com.aluka.nirvana.framework.core.exception;

/**
 * 未知异常
 * @author gongli
 * @since 2019/12/25
 */
public class UnknownException extends BusinessException {
    private static final long serialVersionUID = 7229576394568508735L;

    public <T extends Enum<T> & ErrorEnumInterface> UnknownException(T errorEnum) {
        super(errorEnum);
    }

    public <T extends Enum<T> & ErrorEnumInterface> UnknownException(T errorEnum, String additionalMessage) {
        super(errorEnum, additionalMessage);
    }

    public <T extends Enum<T> & ErrorEnumInterface> UnknownException(T errorEnum, String additionalMessage, Throwable cause) {
        super(errorEnum, additionalMessage, cause);
    }

    public UnknownException(String errorCode, String message, Throwable cause) {
        super(errorCode, message, cause);
    }
}